package com.cyj.dream.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description: 系统用户角色关联关系表
 * @BelongsProject: dream-DreamChardonnay
 * @BelongsPackage: com.cyj.dream.auth.model
 * @Author: ChenYongJia
 * @CreateTime: 2021-04-15 12:19
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("dream_sys_user_role")
@ApiModel(value = "SysUserRole", description = "sys_user_role 系统用户角色关联关系表")
public class SysUserRole implements Serializable {

    @ApiModelProperty(value = "用户id",example = "1")
    private Long sysUserId;

    @ApiModelProperty(value = "角色id",example = "1")
    private Long sysRoleId;

    @Override
    public String toString() {
        return "SysUserRole{" +
                "sysUserId=" + sysUserId +
                ", sysRoleId=" + sysRoleId +
                '}';
    }

}
